Skip to content

Update inference engines on paired nodes - #238

Open
NV-sschneider wants to merge 15 commits into
NVIDIA:developfrom
NV-sschneider:codex/engine-updates-paired
Open

NV-sschneider wants to merge 15 commits into
NVIDIA:developfrom
NV-sschneider:codex/engine-updates-paired

Conversation

@NV-sschneider

@NV-sschneider NV-sschneider commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Operators can now manage engine updates from the desktop of a paired machine. The selected node checks its own installation, downloads the applicable release and runs the update.

PR 3 of 4. Merge after #237. Review this PR’s changes.

Merge order is #236 → #237 → #238 → #239.

Release intent

Changelog title

Update an inference engine on a paired node

Changelog body

  • Engine settings now shows updates available on a selected paired node.
  • Apply a managed update on that node and follow its progress, or view the vendor’s instructions for an external installation.

Bumps

  • services: minor
  • nvpair-cluster-manager: none
  • nvpair-engine-manager: minor
  • nvpair-errors: none
  • nvpair-job-scheduler: none
  • nvpair-manual-nodes: none
  • nvpair-node-info: none
  • nvpair-node-scanner: none
  • nvpair-node-settings: none
  • nvpair-proxy: none
  • nvpair-tui: none
  • nvpair-ui-broker: none
  • nvpair-workload-manager: none

Scope

  • The controller sends the engine name over the existing certificate-pinned peer connection. The target resolves the update and verifies local eligibility.
  • Keep checks, progress, errors, and retries associated with the selected node. The target and controller can both display progress from the same operation.

Validation

  • On Windows x64, four focused engine-manager peer tests passed. The tests cover trust rejection, target selection, progress, and vendor-managed installations.
  • In services/tests, go test -count=1 -run '^(TestBroker_RelaysEngineUpdateRequests|TestRemoteEngine_RejectsUntrusted|TestRemoteEngineUpdate_UsesTheSelectedPeersInstallation)$' ./... passed against the refreshed services. The two-node fixture verifies the target changes and the controller retains its original installation.
  • The generated service contracts passed at each of the three commits. Author sign-offs, whitespace, and release intent were verified.
  • All 36 focused desktop tests across five files passed on this PR. The two-node integration run and the full desktop suite also passed on the combined tree.

Risk

A remote update can briefly interrupt inference on the selected node. The peer must run an engine manager that supports update requests. The target owns release selection and execution.

Checklist

  • I read the Contributing Guidelines.
  • Every commit has a Developer Certificate of Origin sign-off matching its author.
  • Tests cover the change.
  • The relevant documentation is updated.
  • I reviewed the diff, filenames, and commit messages for credentials, private data, internal references, and generated artifacts.
  • I recorded the validation commands and results above.
  • I declared version bumps in the release-intent block above.

Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Have the selected peer resolve release metadata, use its local updater, and stream progress for this request. Exercise target-only replacement, ownership checks, and peer authentication.

Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Track offers by node and engine, refresh on lifecycle changes, and discard stale replies when a peer leaves. Forward progress and failures with the target identity.

Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Name the node in Overview notices, offer the appropriate vendor link, and retain the target when retrying a managed update. Cover these controls in the renderer tests.

Signed-off-by: Seth Schneider <sschneider@nvidia.com>
{
id: `engine-manager:install-failed:${engine}`,
id: `engine-manager:${operation}-failed:${engine}`,
nodeId,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P2] Keep controller transport failures separate from peer-owned errors and clear them after retry

For a controller-side connection/response timeout, this catch creates an error with the peer's nodeId and the peer engine-manager's canonical error ID, even though the peer did not produce it. Error ownership is significant: the local errors service cannot clear a peer-owned entry, and the successful update path above does not explicitly clear this controller-created failure. A successful Retry can therefore leave the earlier failure visible.

I reproduced this on paired DGX Spark/macOS nodes by inducing a real remote-control response timeout, then restoring the target manager and clicking the actual Retry button. The vLLM update succeeded and the target was usable, but the previous error remained while peer error synchronization was delayed. Resuming authoritative peer error sync cleared it. With healthy synchronization, the 30-second heartbeat can self-heal this; this is not a claim that the message remains indefinitely on a healthy connection.

Proposed fix: give controller-created transport failures a controller-owned ID scoped by target, engine and operation, retain the peer separately as the Retry target, and explicitly clear that controller-owned error after a successful retry. Keep actual peer-produced engine errors owned and cleared by the peer; do not relax origin isolation to remove this synthetic entry.

Please extend the existing remote-update tests with a transport failure followed by success while no peer error snapshot arrives: Retry should still target the same peer, the controller error should disappear immediately on success, and genuine peer errors should retain their ownership.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants